package com.shop.user.atom.dao;

import com.shop.common.entity.user.Message;
import com.shop.common.model.param.user.MessageInput;
import com.shop.common.model.result.user.MessageOutput;

import java.util.List;

public interface MessageMapper {
    /**
     *
     * @mbggenerated 2019-02-28
     */
    int deleteMessage(Integer id);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int insertSelective(MessageInput record);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    MessageOutput selectByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int updateByPrimaryKeySelective(Message record);


    List<MessageOutput> qryMessageList(MessageInput messageInput);
}